﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using XHouse.Business.Interfaces;
using XHouse.Data.Interfaces;
using XHouse.Model.Aparatos;
using XHouse.Model.Escenas;

namespace XHouse.Business
{
    public class EscenaService : IEscenaService
    {
        private readonly IRepository<Escena> _repositoryEscena;

        public EscenaService(IRepository<Escena> repository)
        {
            _repositoryEscena = repository;
        }

        public List<Escena> GetAll()
        {
            return _repositoryEscena.GetAll().ToList();
        }

        public List<Escena> GetAllActivas()
        {
            
        }

        public List<Escena> GetAllActivasByAparato(Aparato aparato)
        {
            throw new NotImplementedException();
        }
    }
}
